//
//  ToolCoreData.h
//  Cat
//
//  Created by dllo on 15/12/2.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@class CoreData;

@interface ToolCoreData : NSObject

@property (nonatomic, strong) CoreData *manager;

// 是否在本地
- (BOOL)isHavePicture:(NSString *)url;

// 保存收藏
- (void)savePicture;

// 删除
- (void)deletePicture;

// 取出所有
- (NSArray *)takePicture;

+ (instancetype)defaults;

- (void)deletePicture:(NSString *)url;
@end
